Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

222
Views
NPM v7+ - How to install packages with "lockfileVersion": 1

I updated NodeJS to v16, and it ships with NPM v8, so when I install packages, package-lock.json file is created with "lockfileVersion": 2. I would like to stay with old format of "lockfileVersion": 1. Can we install packages in NPM v8, but keep the version of package-lock.json to 1?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I believe you can find thorough answers to this question at Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format? . Using lockfileVersion 2 should be backwards compatible all the way back to at least NodeJS 6+ so im not sure why you would want to use version 1, but if you must there are solutions provided on the linked post.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!